Question: SQL Sort Ages Your table: maintable_39QB2 MySQL version: 8.0.23 In this MySQL challenge, your query should return the rows from your table where LastName

SQL Sort Ages Your table: maintable_39QB2 MySQL version: 8.0.23 In this MySQL challenge, your query should return the rows from your table where LastName = Smith or FirstName = Robert and the rows should be sorted by Age in ascending order. Your output should look like the following table. +----+ | ID | FirstName | LastName | Age | +----+ ----+ 22 1 22 1 25 1 -----+ | 2 | Mike 4 Robert 1 | Daniel +---+- | Smith | Black | Smith 1 1 1 ---
Step by Step Solution
There are 3 Steps involved in it
It seems like you are attempting to write a SQL query to retrieve rows from a table where the LastNa... View full answer
Get step-by-step solutions from verified subject matter experts
