Write the output of the following statements:
Write the output of the following statements:
Get the step-by-step solution for this question inside the Vidyadip app.
Get the answer in the appGenerate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.
Table: Persons
| FirstName | LastName |
| Naveen | Gupta |
| Ram | Sharma |
| Mohan | Kumar |
| Aayu | Chugh |
(a) With SQL, how do you select a column named "FirstName "from a table named "Persons "?
(b) With SQL, how do we select all the columns from a table named "Persons "?
(c) With SQL, how do we select all the records from a table named "Persons "where the value of the column "FirstName "is "Naveen "?
(d) With SQL, how do we select all the records from a table named "Persons "where the value of the column "FirstName "starts with an "a "?
(e) With SQL, how do we select all the records from a table named "Persons "where the "FirstName "is "Aayu "and the "LastName "is "Chugh "?
(f) With SQL, how do we select all the records from a table named "Persons "where the "LastName "is alphabetically between (and including) "Sharma "and "Chugh "?
(g) With SQL, how can we return all the records from a table named "Persons "sorted descending by "FirstName "?
(h) With SQL, how can we insert a new record into the "Persons "table?
(i) With SQL, how can we insert "Mehta "as the "LastName "in the "Persons "table?
(j) How can we change "Chugh "into "Bajaj "in the "LastName "column in the Persons table?
(k) With SQL, how can you delete the records where the "FirstName "is "Gupta "in the Persons Table?
(l) With SQL, how can you return the number of records in the "Persons "table?