The document outlines the creation of four database tables: Employees, Department, Orders, and Customer, along with their respective fields and data types. It includes sample data insertion for each table and various SQL queries to retrieve specific information, such as employees earning above average salary, employees without managers, and departments with no employees. Additionally, it provides queries to find the second-highest salary and employees hired before a certain date.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
4 views3 pages
Pre Rdbms
The document outlines the creation of four database tables: Employees, Department, Orders, and Customer, along with their respective fields and data types. It includes sample data insertion for each table and various SQL queries to retrieve specific information, such as employees earning above average salary, employees without managers, and departments with no employees. Additionally, it provides queries to find the second-highest salary and employees hired before a certain date.