11
answers
0
watching
200
views
5 Feb 2020
Create a database with the following tables and write queries in MySQL:
SALESMAN{SID, FNAME, LNAME, PRODID, QUAN, AMT}
PRODUCT{PID, PNAME, IN_STOCK}
-
Write an SQL Query to display the first names of the salesperson in the upper case using the alias FIRST_NAME.
-
Write an SQL COMMAND to display the names of the products that are out of stock.
-
Write an SQL Query to display the details of the salesperson whose sale_amount is the second highest.
Create a database with the following tables and write queries in MySQL:
SALESMAN{SID, FNAME, LNAME, PRODID, QUAN, AMT}
PRODUCT{PID, PNAME, IN_STOCK}
-
Write an SQL Query to display the first names of the salesperson in the upper case using the alias FIRST_NAME.
-
Write an SQL COMMAND to display the names of the products that are out of stock.
-
Write an SQL Query to display the details of the salesperson whose sale_amount is the second highest.
10 Feb 2024
viclere2005Lv10
8 Dec 2022
Already have an account? Log in
Bunny GreenfelderLv2
5 Feb 2020
Already have an account? Log in