Question: Question about moving table contents using SQL queries Create a query to move data from the Staff table to the StaffAttendance table with the following

Question about moving table contents using SQL queries

Create a query to move data from the Staff table to the StaffAttendance table with the following conditions:

SELECT *FROM Staff WHERE StaffLeave = 2 AND StaffIn = 1

SELECT *FROM StaffAttendance WHERE NumberStaff = 6

(The assumption is that the StaffAttendance table is empty there are only columns and all data from Staff will be filled)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!