Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the Customer table below write SQL statements to 1. Create the table Customer, giving relevent datatypes and pos sible/suitable Primary key 2. To insert
Given the Customer table below write SQL statements to
1. Create the table Customer, giving relevent datatypes and pos sible/suitable Primary key
2. To insert the first two rows shown in the diagram
3. To return customer first names and last names of all customers with AreaCode 615
4 Return customer Code, first name and last name of all customers with balance more than 300.00
5. Return all records with customer first names starting with "A"
Table name: CUSTOMER CUS_CODE CUS_LNAME CUS FNAME CUS_NITIAL CUS AREACODE CUS PHONE CUS_BALANCE Alfred 615 Leona 713 Kathy 615 Paul 615 615 10010 Ramas 10011 Dunne 10012 Smith 10013 Olowski 10014 Orlando 10015 O'Brian 10016 Brown 10017 Williams 10018 Farriss 10019 Smith Myron Amy James George Anne Olette A K W F 8 G G K 713 615 615 713 615 844-2573 894-1238 894-2285 894-2180 222-1672 442-3381 297-1228 290-2556 382-7185 297-3809 0.00 0.00 345.86 536.75 0.00 0,00 221.19 768.93 216.55 0.00
Step by Step Solution
There are 3 Steps involved in it
Step: 1
1 CREATE TABLE CUSTOMER CUSCODE INT PRIMARY KEY CUSLNAME VARCHAR CUSFNAME VARCHAR CUSNTIAL VARC...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