Question

Kindly assist in the solution to these problems. 2a) Give an example of when a view...

Kindly assist in the solution to these problems.

2a) Give an example of when a view might be helpful. Give an example of when a view might be required for purposes of confidentiality and security.

b) In an explicit LEFT JOIN, the first table mentioned after the FROM keyword should be the table whose rows you want to include in the results even if the other table does not have a corresponding value for the field that’s being joined on. (True or False?)

c) In an explicit LEFT JOIN, all desired fields mentioned in the SELECT clause must appear on the left-hand side of the query results, before (i.e., to the left of) any fields (columns) from the other table. (True or False?)

c) In SQLplus, if you run an SQL query file using “@myScript”, can the script contain more than one SQL statement?

d) Oracle and SQLplus are generally case-insensitive regarding SQL keywords and column names, but Linux is case-sensitive regarding file names.

e) Nested queries (subqueries) must be enclosed in parentheses.

f) What, if anything, is wrong with the following SQL query? (This may be followed by any of a zillion possible made-up query examples.)

g) Regarding NULL values: Is the result of TRUE OR UNKNOWN True, False, or Unknown?

h) Can a primary key be null? Why or why not?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) view is useful for security as from entire table we want to shoe particular columns only and hide the other columns from the user.

for example in employee table we want to display only name and address and hide salary column; view can be created.

b)true

c)false...(question is not very clear)

d)true

e)true

f)no query mentioned

g)unknown

h)no, primary key cant be null because of entity integrity rule

Add a comment
Know the answer?
Add Answer to:
Kindly assist in the solution to these problems. 2a) Give an example of when a view...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • If the focus in a form moves from left to right and you want the focus...

    If the focus in a form moves from left to right and you want the focus to move from top to bottom, change the _____. . a. . sort order . b. . tab order . c. . form layout . d. . focus grouping    What do you change when you drag the right border of a form in Form Design view? . a. . the layout of the form . b. . the width of the form ....

  • Q2. Retrieve the names of all employees from the employee table to produce output on CSV...

    Q2. Retrieve the names of all employees from the employee table to produce output on CSV format or delimited format with a common delimeter, rather than separete columns. Hint:Put the whole row into a string with a semicolon as the seperator(delimeter) between thecolumns: FORMAT:(fname;minit;lname) Example: EMPLOYEES -------------- James;E;Borg Frank;T;Wong Q3. Write a query to show the employees name from the employee table in this format: first letter of the first name, followed by a dot, a blank, and the full...

  • The following are screen grabs of the provided files Thanks so much for your help, and have a n...

    The following are screen grabs of the provided files Thanks so much for your help, and have a nice day! My Java Programming Teacher Gave me this for practice before the exam, butI can't get it to work, and I need a working version to discuss with my teacher ASAP, and I would like to sleep at some point before the exam. Please Help TEST QUESTION 5: Tamagotchi For this question, you will write a number of classes that you...

  • Please Implement this code using Java Eclipse. CIS 1068 Assignment 8 Warm Up with Objects Due:...

    Please Implement this code using Java Eclipse. CIS 1068 Assignment 8 Warm Up with Objects Due: Wednesday, March 25 70 points (+ up to 15 extra credit) The purpose of this assignment is to give you practice implementing your own classes. It also provides extra practice with arrays. Task Implement a class Task, which is used to represent a job that should be done. It should contain the following private fields: .name text description of what job should be done...

  • If you’re using Visual Studio Community 2015, as requested, the instructions below should be exact but...

    If you’re using Visual Studio Community 2015, as requested, the instructions below should be exact but minor discrepancies may require you to adjust. If you are attempting this assignment using another version of Visual Studio, you can expect differences in the look, feel, and/or step-by-step instructions below and you’ll have to determine the equivalent actions or operations for your version on your own. INTRODUCTION: In this assignment, you will develop some of the logic for, and then work with, the...

  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

  • Need help with C++ assignment Assignment 1 and .txt files are provided at the bottom. PART...

    Need help with C++ assignment Assignment 1 and .txt files are provided at the bottom. PART A PART B Assignment 1 #include <iostream> #include <string> #include <fstream> #include <iomanip> #include <stdio.h> #include <ctype.h> #include <string.h> #include <algorithm> using namespace std; /** This structure is to store the date and it has three integer fields **/ struct Date{    int day;    int month;    int year; }; /** This structure is to store the size of the box and it...

  • I have this case study to solve. i want to ask which type of case study...

    I have this case study to solve. i want to ask which type of case study in this like problem, evaluation or decision? if its decision then what are the criterias and all? Stardust Petroleum Sendirian Berhad: how to inculcate the pro-active safety culture? Farzana Quoquab, Nomahaza Mahadi, Taram Satiraksa Wan Abdullah and Jihad Mohammad Coming together is a beginning; keeping together is progress; working together is success. - Henry Ford The beginning Stardust was established in 2013 as a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT