Consider the following vendor table and write the queries
Asked by admin @ in Computer Science viewed by 1399 People
Page 5 of 5
39. (a) Write a Query to create a Table with the following structureTable ProductField DatatypePID Char(4)Pname Varchar(20)Description Varchar(40)Price Decimal(b) Consider the following Vendor table and write the queriesTable VendorVendorID VName DateofRegistration LocationV001 Mother Dairy 20-01-2009 DelhiV002 Havmor 01-04-2015 GujratV003 Amul 12-05-2012 Kolkata V004 Kwality Walls 15-10-2013 Mumbai(2+3)(i) Write a Query to display all records(ii) Write a Query to add a new row with the following details (‘V005’, ‘Vadilal’, ‘2010-03-20’, ‘Pune’)(iii) Write a query to modify the location of V003 from Kolkata to Gujrat