Question: What SQL script (either MySQL or SQL Server) will create a database named CouponMgr? Dont worry about all the options; just enough to create the

What SQL script (either MySQL or SQL Server) will create a database named CouponMgr? Dont worry about all the options; just enough to create the database.

2. What SQL script (either MySQL or SQL Server) will create a table named Coupons in the CouponMgr databaser? CouponID -- an integer -- is the primary key, IssuedTo -- 15 or less characters of text -- and CouponAmount -- Money or two place decimal value -- are the columns. Dont worry about all the options; just enough to create the table.

3. What SQL script (either MySQL or SQL Server) will insert a record with a CouponID of 1234, IssuedTo equal to your GRU login ID, and CouponAmount equal to $1000 plus the last three digits of your student number? Dont worry about all the options; just enough to create the record.

4. What SQL script (either MySQL or SQL Server) will return all records (with all columns) from the Coupons table?

5. What SQL script (either MySQL or SQL Server) will delete all records (with all columns) from the Coupons table (but leave the empty table)? What SQL will remove the table entirely?

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!