0% found this document useful (0 votes)
51 views

Create The Following Tables in SQL: Lab Exercise 3

This document provides instructions for a lab exercise involving creating tables and running SQL queries on those tables. Students are asked to create tables called Grades and Employee, and then run SELECT queries to view and manipulate data from those tables, ordering results, performing calculations on columns, and selecting specific columns.

Uploaded by

denis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views

Create The Following Tables in SQL: Lab Exercise 3

This document provides instructions for a lab exercise involving creating tables and running SQL queries on those tables. Students are asked to create tables called Grades and Employee, and then run SELECT queries to view and manipulate data from those tables, ordering results, performing calculations on columns, and selecting specific columns.

Uploaded by

denis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

LAB EXERCISE 3

Create the following tables in SQL

Run the following commands


SELECT * FROM Grades ORDER BY Mark
SELECT * FROM Grades ORDER BY Code ASC, Mark DESC
SELECT Mark/100 FROM Grades
SELECT Salary + Bonus FROM Employee
SELECT 1.175*Price FROM Products

You might also like