Using SQL in models Flashcards

1
Q

SQL is preferred over graphical modeling?

A

False, graphical modeling should be used whenever possible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What’s the difference between DDL, DML, DCL?

A

DDL is the language for creating and maintaining database objects
DML is the language to create and maintain data
DCL is the language to control data access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where is SQL console launched from?

A

WEB IDE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are two ways of adding comments in the SQL console?

A
-- (everything after the double hyphen
/*
everything between /* and */ is a comment
*/
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the SOME comparison predicate do?

A

I have no idea?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Is DAYS_BETWEEN a valid command in open SQL

A

I don’t know?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following can be used in open sql?

ADD_DAYS, ADD_MONTHS, ADD_YEARS, DAYNAME

A

I don’t now

How well did you know this?
1
Not at all
2
3
4
5
Perfectly