Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
64.5k views
in Information Technology by (53.3k points)

On the basis of following table answer the given questions:

Table: CUSTOMER_DETAILS

Cust_ID Cust_Name  Acct_Type Accumlt_Amt  DOJ  Gender
 CNR_001 Manoj  Saving 101250 1992-02-19 M
CNR_002  Rahul Current 132250 1998-01-11 M
CNR_004  Steve  Saving 18200 1998-02-21 M
 CNR_005 Manpreet  Current NULL 1994-02-19 M

(i)  Write the degree and cardinality of the above table.

(ii)  What will be the output of the following query : Select max(DOJ) From Customer_Details;

(iii)  Write the sql query to delete the row from the table where customer has no accumulated amount.

1 Answer

+1 vote
by (53.4k points)
edited by
 
Best answer

(i) The degree is 6 and cardinality is 5.

(ii) +------------+

|max(DOJ)|

+------------+

|1998-02-21|

+------------+

(iii) Delete from Customer_Details where Accumlt_Amt is NULL;

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...