Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Which Extra Service is the least expensive? What is the account number for each

ID: 3720392 • Letter: W

Question

Which Extra Service is the least expensive?

What is the account number for each customer?

Property Propenty Address VARCHAR25) Property Chy VARCHAR15 Propery State VARCHAR2) Single Service Pricing SinglaServiceD INT Phone PhonelD VARCHARI5) TV-TO VARCHAR(5) Bundle Bund eID INT Bunde Price INT Duration INT Bunde A BundlelD INT Bundle B BundlelD INT Indexes Bundle A Bundle B Phone TV BundeID INT Bundle DNT First Name VARCHAR 20 Last-Name VARCHAR(46) Address VARCHAR(45) ? ? VARCHAR(1 Stato VARCHAR2 ZIP VAHCHAH(5) Phone VARCHARI1 PhonelD INT P TVID INT IntemetID INT Price DECIMAL 10,2 Description VARCHAR(1024) ?package VARCHAR( 255) O Channels INT Cescription VARCHAR(1024) Free HD DECIMAL(T) Price DECIMALI Description VARCHARI1024) B IID I Payment ing Date DATETIME Due Date DATETIME Contract ContractiID INT Start Date DATETIME End Date DATETIME BL BIID INT Contract ContradtiD1 INT Bil Conract ContradID INT Singie Sarvice Prioing SngleServicelD VARCHAR 18 Extra pelD INT BII BID INT Extra Services TypelD VARCHAR11) Fee DEC MAL(10.2)

Explanation / Answer

Below are your SQL queries

Which Extra Service is the least expensive?

Select * FROM Extra_services where fee IN (Select MIN(fee) from Extra_services )

What is the account number for each customer?

Select c.CustomerID,a.account_number from Customer c INNER JOIN Account a ON c.customerID = a.customer_customerID

NOTE: - Please verify table names and atribute names in SQL with the schema, before running it

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote