Assume that you are working in the IT Department of a Creative Art Gallery (CAG), which sells different forms of art creations like Paintings, Sculptures etc. The data of Art Creations and Artists are kept in tables Articles and Artists respectively. Following are few records from these two tables:
(i) To display all the records from the Articles table in descending order of Price.
(ii) To display the details of Articles which were created in the year 2020.
(iii) To display the structure of the Artists table.
(iv-a) To display the name of all artists whose Article is Painting using Equi Join.
(iv-b) To display the name of all artists whose Article is 'Painting' using Natural Join
SELECT * FROM Articles ORDER BY Price DESC;Explanation:
SELECT * FROM Articles WHERE YEAR(DOC) = 2020;Explanation:
DESC Artists;Explanation:
SELECT Name FROM Artists, Articles WHERE Artists.A_Code = Articles.A_Code AND Article = 'Painting';Explanation:
SELECT Name FROM Artists NATURAL JOIN Articles WHERE Article = 'Painting';Explanation:
Analyse the characters of William Douglas from ‘Deep Water’ and Mukesh from ‘Lost Spring’ in terms of their determination and will power in pursuing their goals.