-
Given the following table called “employees”, write a SQL query to select all employees who have a salary greater than 50,000:
-
Given the following table called “orders”, write a SQL query to select the total number of orders for each product:
-
Given the following tables called “students” and “courses”, write a SQL query to select all students who are enrolled in the “Math” course:
1 Like
- select * from employees where salary >50000
- select count(*) from orders
- select Name from students S join
courses C on S.id = C.id where C.course_name = “Math”
2 Likes