Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

F4 IT0119

QuestionAnswer
Which among the following is not considered a database transaction? One data definition statement
Using figure 7.2, what SQL statement will show the city and the highest salary of the salesman when they are grouped based on their city. select city, max(salary) from salesman group by city;
You can add multiple rows to a table using a single insert statement. True
A database transaction consists of one DCL statement. False
Using figure 7.1, what is the SQL code to insert a new record in the salesman table? insert into salesman (salesman_id) values (6000);
To create a marker in the current transaction, rollback is used. False
Using the syntax to insert a row below: INSERT INTO table [(column [, column...])] VALUES (value [, value...]); What is the column part? it is the name of the column in the table to populated
The check option command in creating a view works only for updateable views. True
Using figure 7.2, what SQL statement will show the name of the salesman and city whose city has an ‘I’ letter in between, capital letter or not. select sname, city from salesman where city like '%i%' or city like '%I%'; select sname, city from salesman where city like '%i%';
What is the clause of the select statement where in it indicates the tables or views from which data will be obtained? from
What is the clause of the select statement where in it indicates the conditions under which a row will be included in the result? where
Using figure 7.1, the SQL code: update salesman set commission = 0.25 where city = 5700; , will change all the commission of the city that is empty or null. False
In read consistency, changes made by one user do not conflict with the changes made by another user. True
The update statement modifies existing values in a table True
A database transaction consists of one DDL statement. True
Before the changes are committed to the database, only the user who is modifying the data sees the database with the alterations. True
Using figure 7.1, which among the SQL statement is going to change the salary to 19000 and commission to 0.15 of the salesman named Cambrault? update salesman set salary = 19000, commission = 0.15 where sname = ‘Cambrault’;
In the savepoint statement, all the locks of the affected rows are released. False
A DML statement is executed when adding rows, modifying existing rows, and removing existing rows from a table True
What is a type of privilege that can manipulate the contents of the database objects? object privilege
A user can have access to several roles, and several users can be assigned the same role. True
What are collection of objects such as tables, views and sequences? schemas
Fine tuning with group by and having clauses is needed in queries. True
select d.department_name,e.employee_id from departments d, cemployees e where d.department_id = e.department_id and e.commission_pct is not null order by e.EMPLOYEE_ID; will show the department name and the employee ids of the employees False
What is an equi-join in which one of the duplicate columns is eliminated in the result table? natural join
The DBA creates the user by executing the CREATE USER statement. True
Users require system privileges to gain access to the database. True
Oracle server database security cannot confirm given and received privileges with Oracle data dictionary. False
Instead of SELECT *, identify the specific attributes in the SELECT clause for query efficiency. True
Using figure 8.3, what SQL statement will show the department name and employee id of employee ids 101 and 102? select dept.department_name, e.employee_id from departments dept inner join employees e on dept.department_id = e.department_id and e.employee_id in (101,102);
A role is a named group of related privileges that can be granted to the user. This method makes it easier to revoke and maintain privileges. True
An object privilege provides the user the ability to perform a particular action on a specific schema object True
Users require object privileges to gain access to the database. False
Users can also be given the privilege to grant additional privileges to other users or to roles, which are named groups of related privileges. True
The left outer join returns all records from the outer table and the matching records returned from the joined table. True
Understanding how indexes are used in query processing makes a better query design. True
Which code will allow user A and B to make virtual tables? GRANT CREATE VIEW TO A,B;
Which among the following codes will create a user name Michelle_Admin with a password of MA_123 Create user Michelle_Admin identified by MA_123;
What is a relational operation that causes two or more tables with a common domain to be combined into a single table or view. Join
Created by: PipoyKuraku
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards