Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Qn 4 . Write the following SQL statements using CLIENT and ORDER tables:CLIENTClientIdLastNameFirstNameSuburbPhoneCity 1 JasonRitaBella Boulevard 3 4 3 2 4 2 2 Sydney 2
Qn Write the following SQL statements using CLIENT and ORDER tables:CLIENTClientIdLastNameFirstNameSuburbPhoneCityJasonRitaBella BoulevardSydneySmithJacksonHigh ParkSydneyWagnerJamesRichmondPerthBlakeSusanRockdaleBrisbaneJonesTaniaComoMelbourneLynnKarinaDuralSydneyWaltersMaxHigh ParkPerthPoplarLiamCrassparkBrisbaneRobbNoahElwoodMelbourneHenlonJamesHawthroneDarwinORDEROrderNoOrderDescClientIdOrderDateShippedDateCountryTotal AmountLarge ItemAustraliaSmall ItemItalyItem ABCFranceMedium ItemAustralia Tier DesignJapanRound BoxAustraliaBrandChinaExpress DeliveryDenmark Questions:a Display client details in descending order of the clients first name and then by the last name in ascending order.b Find details of all clients whose last name begins with S Display results in descending order of city. c Display the number of clients living in Sydney. d Display order ID client details name ID of clients and country for the orders placed in Display results in descending order of OrderID.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started