8.3 DDL and DML
8 questions in this subtopic. Open a question to solve it and check the official answer.
DDL and DML · 3 marks · official answer ready
(c) The final design for the customer table is: Customer(CustomerID, CustomerName, CustAddress, TelNo, DateRegistered) Customer 065 has contacted the gallery to tell them his new …
DDL and DML · 3 marks · official answer ready
(c) The final design for the customer table is: Customer(CustomerID, CustomerName, CustAddress, TelNo, DateRegistered) Customer 065 has contacted the gallery to tell them his new …
DDL and DML · 2 marks · official answer ready
(d) The following Data Manipulation Language (DML) query is run: SELECT RegistrationNo FROM Hire WHERE (StartDate < Now() ) AND (ReturnDate > Now() ); Note: Now() is a function wh…
DDL and DML · 2 marks · official answer ready
(f) On 05/04/2014, customer 085 booked a vehicle hire. This hire will start on 13/04/2014. When the customer arrives, the receptionist will check their driving licence. If the lic…
DDL and DML · 2 marks · official answer ready
(d) The following Data Manipulation Language (DML) query is run: SELECT RegistrationNo FROM Hire WHERE (StartDate < Now() ) AND (ReturnDate > Now() ); Note: Now() is a function wh…
DDL and DML · 2 marks · official answer ready
(f) On 05/04/2014, customer 085 booked a vehicle hire. This hire will start on 13/04/2014. When the customer arrives, the receptionist will check their driving licence. If the lic…
DDL and DML · 2 marks · official answer ready
(c) Additional data are to be stored about each artist as follows: Artist(ArtistName, Nationality, YearBorn, YearDied) The following Data Manipulation Language (DML) query is run.…
DDL and DML · 3 marks · official answer ready
(e) The painting ‘The Guitar Player’ was in the ‘Secrets and Silence’ exhibition. The ExhibitionPainting table has a record for this. In the record: • The painting is referred to …
