Learn SQL
Select multiple data

Select multiple data

We have seen earlier that we can select mutiple columns from a table.

Similarly, we can select multiple columns and perform some mathematical operation on these columns. Suppose, we want to get the total age of all the students and the maximum marks in the same query.