1
1
Which of the following do you need to consider when you make a table in SQL?
Which of the following do you need to consider when you make a table in SQL?
A). Data types
B). Default values
C). Constraints
D). All of the above
This Question has 2 answers.
All of the above
When we create a table in SQL, we are supposed to consider:
- Data types: To define what kind of data each column can store (e.g., INT, VARCHAR, DATE).
- Default values: To specify a value when no explicit value is provided during insertion.
- Constraints: To enforce rules on the data (e.g., PRIMARY KEY, NOT NULL, UNIQUE).
Optio (D)
Similar Questions
- In an alloy, zinc and copper are in the ratio 1 : 2. In the second alloy, the same elements are in the ratio 2 : 3. If these two alloys be mixed to form a new alloy in which two elements are in the ratio 5:8, the ratio of these two alloys in the new allow
- Nidhi received simple interest off Rs. 1200 when invested Rs x at 6% p.a. and Rs y at 5% p.a. for 1 year. Had she invested Rs. x at 3% p.a. and Rs. y at 8% for that year, she would have received simple interest of Rs 1,260. Find the values Rs. x an y.
- Are all the four friends viz. A, B, C and D who are sitting around a circular table, facing the centre? I) B sits second to right of D. D faces the centre. C sits to immediate right of both B and D. II) A sits to immediate left to B. C is not an immedia
- A person ordered 4 shirts of brand A and some shirts of brand B. The price of one shirt of brand A was twice that of brand B. When the order was executed, it was found that the numbers of the two brands has been interchanged . This increased the bill by 4
- Direction: Read the following information carefully and answer the questions that follow: P, V, X, A, D, I, K and UÂ set out for trip for different number of days such as 2, 8, 11, 5, 6, 4, 7 and 3, they go to the trip in the same order but the order of n