Correct answer? (SQL)
I read the question from a book.
If we are forced to build an equi-join of 30 tables, how to join
Have conditions?
a. 30
b. 20
c. 29
d. the number cannot be determined
I wonder what is the correct answer to the following question, C or D?
The book says is correct C.
The theory says
"To join the tables together n, you need a minimum of n-1 join conditions.
For example, to join the four tables, a minimum of three joints is necessary.
This rule do not apply if your table has a concatenated primary key.
in this case more than one column is required to uniquely identify each row. »
What should I answer if this issue was in a test 1Z0-051?
I would answer D. Is this wrong?
That's the problem with people who write these test questions. They forget to check their questions of ambiguity.
So, assuming that each table has a single unique primary key that relates to foreign keys in other tables, then the answer would be 29.
However, suffice it to say there are 30 paintings, does not the number of columns is required of each table to perform joins, so the answer is that it cannot be determined. If the other answers had said for example "at least 29" which would have been okay, but as it gives an exact "29", it is not necessarily true.
I hate ambiguous questions.
Tags: Database
Similar Questions
-
Not correctly completed SQL command
can not find why this error occurs: not correctly completed SQL command
PROCEDURE FORMA4_25_11)
P_GO IN VARCHAR2,
P_DATE_1 IN VARCHAR2,
P_DATE_2 IN VARCHAR2,
P_DAY_COUNT NUMBER,
DATA_SET ON SYS_REFCURSOR)
AS
DB_QUERY VARCHAR (32767).
BEGIN
DB_QUERY: = ' SELECT T1.ad, T1.admin_count, T1.cnt)
SELECT dc.NAME ad,
Count (am. IDN) admin_count,.
Admn.Say NTC
SINCE DC dictionaries.customs
INNER JOIN kadr.tper_master mf
ON mf.branch_code = dc.code_int AND mf.status = 0
INNER JOIN vpdgk.vp_admin am
ON am.mufet_id = mf.idn
LEFT JOIN (SELECT branch_code,
Say Count (branch_code) AS
OF (m_id SELECT c.mufet_id,
b.branch_code,
Count (c.mufet_id) mufet_count
OF vpdgk.vp_qeydiyyat A
INNER JOIN kadr.tper_master b
ON b.idn = a.mufet_id
INNER JOIN vpdgk.vp_admin c
ON c.mufet_id = A.mufet_id
AND (c.uid_ IS NOT NULL
GOLD c.uid_reserv IS NOT NULL)
INNER JOIN dictionaries.customs d
ON d.code_int = b.branch_code
WHEN Trunc (A.insert_date) BETWEEN
TO_DATE('''||) P_DATE_1 | " ', "DD. MM YYYY ")
AND
TO_DATE('''||) P_DATE_2 | " ', "DD. MM YYYY ")
C.mufet_id GROUP, b.branch_code
HAVING COUNT (c.mufet_id) < ' | P_DAY_COUNT |')
GROUP BY branch_code Admn)
ON admn.branch_code = dc.code_int
Dc.NAME, admn.say) AS T1 WHERE T1.ad = ' | P_GO | ";
DATA_SET OPEN FOR DB_QUERY;
END;
Hi Afa
At the end of SQL you write 'AS '. Remove it
Excample:
-
give us the correct answer option
How can I set correct answer in the forum of adobe acrobat?
Please visit this link which deals with the same subject: marking messages as correct or useful on the Adobe forums
Let us know if you have any other questions.
Thank you
Shivam
-
Unable to see the tilde characters correctly in SQL * Plus window BACK
Hello
I have a tilde character display problem in SQL * more correctly.
The environment is: Oracle 10.2.0.5 Server (Yes, I know, it is longer supported, but it is not possible to update now).
Database settings:
SQL > select * from nls_database_parameters by parameter.
PARAMETER VALUE ------------------------------ ----------------------------------------
NLS_CALENDAR GREGORIAN NLS_CHARACTERSET WE8MSWIN1252 NLS_COMP BINARY NLS_CURRENCY ? NLS_DATE_FORMAT RR. MR. DD NLS_DATE_LANGUAGE Portuguese NLS_DUAL_CURRENCY ? NLS_ISO_CURRENCY Portugal NLS_LANGUAGE Portuguese NLS_LENGTH_SEMANTICS BYTE NLS_NCHAR_CHARACTERSET AL16UTF16 NLS_NCHAR_CONV_EXCP FAKE NLS_NUMERIC_CHARACTERS ,. NLS_RDBMS_VERSION 10.2.0.5.0 NLS_SORT WEST_EUROPEAN NLS_TERRITORY Portugal NLS_TIME_FORMAT HH24:MI:SSXFF NLS_TIME_TdZ_FORMAT TZR HH24:MI:SSXFF NLS_TIMESTAMP_FORMAT RR. MR. DD HH24:MI:SSXFF NLS_TIMESTAMP_TZ_FORMAT RR. MR. DD HH24:MI:SSXFF TZR 20 selected lines.
Data are inserted and displayed correctly by the application (Oracle Forms 6 - Yes, I know it is old and not supported more :-)))
The only problem is that I can't view "tilde one" or "o tilde" correctly when you use SQL * Plus window BACK directly connected to the database. Other accented characters appear very well (acute accents a, for example).
If I use the SQL Windows * more available in point 10.2 so all the characters appear correctly.
NLS_LANG and code page are correct.
SQL > host chcp
Active code page: 850
SQL > host % NLS_LANG Echo%
AMERICAN_AMERICA.we8pc850
SQL > select * from nls_session_parameters by parameter.
VALUE OF THE PARAMETER
------------------------------ ----------------------------------------
NLS_CALENDAR GREGORIAN
BINARY NLS_COMP
NLS_CURRENCY $
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE PORTUGUESE
NLS_DUAL_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_LANGUAGE AMERICAN
NLS_LENGTH_SEMANTICS BYTES
NLS_NCHAR_CONV_EXCP FAKE
NLS_NUMERIC_CHARACTERS.,.
NLS_SORT BINARY_AI
NLS_TERRITORY AMERICA
NLS_TIME_FORMAT HH.MI. SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI. SSXFF AM TZR
NLS_TIMESTAMP_FORMAT-DD-MON-RR HH.MI. SSXFF AM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI. SSXFF AM TZR
17 selected lines.
Bad displays data:
SQL > select notes to atj_disc_cong where Ref = 645; -See attached screenshot Snap1.jpg
However, the data is stored correctly:
SQL > select dump (notes) in the atj_disc_cong where Ref = 645;
DUMP (NOTES)
--------------------------------------------------------------------------------
Typ = 1 Len = 21: 231,32,227,225,224,226,32,233,232,234,32,237,236,32,243,245,242,224,32,250,249
Also, if I copy the wrong characters has resulted in Word, they appear very well (that is, I get a tilde correctly a)
No idea why they are not display correctly in SQL * more?
Thank you
The data is stored correctly, as shown in the PICTURE, even if you really do not have the data expected if I'm only guessing.
The problem is most likely with the police. Your command prompt is implemented with code 850 (WE8PC850), but the police page seems to be in the code page 437 (US8PC437). You should change the font to a non-raster font or change page codes and NLS_LANG to the code page 437.
Note, do not define NLS_LANG in system properties, because it affects so Oracle Forms. Set only in the command prompt given.
Thank you
Sergiusz
-
Style in the list of correct answers (Display Mode)
CP9
I need change the style (type size) in the list of correct answers when I see the consultation mode. Default size is very small. It's a style? Can I change?
Thank you!.
If you can solve it by changing the CSS which will be the best solution. Another solution would be to create a personalized feedback and use a conditional action on enter check if the blade is in playback Mode.
-
Who can mark a correct answer?
Hi all
I simply acknowledge this message in my stream of connection:
The thread is How can I unlock a user locked to MOSC?
Is it possible for someone else as the thread opener to score a correct answer or helplull? If Yes, who is allowed to do this and in what cases?
Or is some sort of bug in the display of the stream?concerning
KayOur guideline for moderators is not mark as correct answers on behalf of the author, the author of the thread being the only person who can tell with certainty whether question responded. They do so only as an exception, but you should not see that all the time in MOSC. Moderators are supposed to use the mark the thread as option supposed to answer rather than mark a correct answer. If you notice this happens frequently, please let us know so that we can educate the moderator accordingly.
Concerning
Mike
-
Friends in the Forum, this issue was developed by several users and still no correct answer that actually works. How can I make my pdf files show an oreview rather generic logo Adobe?
Thanks in advance
Not possible with Acrobat Reader DC.
-
Captivate 9: Quiz test - correct answers appear behind others
Hi all
Hopefully an easy fix. As you can see on the image, all by examining the quiz the answer appears under slot the next part of the question.
It is a question of style "fill in the blank.
Other types of questions, the correct answer will appear on top - it seems possible!
Any help is appreciated!
Thank you
Thanks for the reply.
Fortunately in the meantime I managed to work around the problem, thanks to someone else with a similar problem: Re: Captivate 9 - fill in the Blank consultation Mode - hope this will help others.
The finished result
I will also report this as a bug.
-
JavaScript to collect correct answers
Hi, in my form 4 questions are here. below the fields of this question, I add some text to add the correct answer. another one of the text fields available to collect a total of points question 4 below. My question answers are below. So if the customer insert the correct answers in the text field, then I want to add + 2 in the total field. If the response from clients resolve questions 1-3-4-5, that the total amount deposited will be 8 points. so thanks for giving me javascript to handle this work. Thanks in advance.
Text field names
Q-1
Q-2
Q-3
Q-4
Response
Correct answer to the first question is: 1
Correct answer to the second question is: 3
Correct answer to the third question is: 4
Good answer to question 4 is: 5
OK, that makes more sense... So, you can use this code as a custom calculation of the total field script:
var total = 0; if (this.getField("an-1").valueAsString == "1") total+=2; if (this.getField("an-2").valueAsString == "3") total+=2; if (this.getField("an-3").valueAsString == "4") total+=2; if (this.getField("an-4").valueAsString == "5") total+=2; event.value = total;
-
How can I display the correct answers in a quiz about Adobe Presenter 10?
Hi all.
I am new to Adobe Presenter.
I finished all the questions of the quiz, but I want to show the correct answer when the user chose a wrong answer and submit it.
I tried many things and does not display the correct answer.
Thank you.
Rafael.
The correct answers are displayed after the quiz is over and the user examines the quiz. If you want the answer to be revealed to the user in the quiz, then you will need to customize messages of comments to indicate the right answer. They are just the text boxes on the slides, so you should be able to easily add text to them.
-
How can I assign partial credit so that for each possible answer 6 out of 10 each correct answer gets 10 points each, with a possible total score of 60 points quiz?
To Captivate 7, please go to the Quizzing workspace. You will have the properties and properties Quiz Panel visible. I will now repeat the workflow, I explained briefly for CP7:
- Check the partial score in the Quiz properties and also multiple responses.
- Indicate the correct answers on the stage
- Select the first correct answer on the stage text caption and indicate its score (10pts) in the properties panel, not in the Quiz properties!
- Repeat the same for each correct answer
- Check the total score in the properties of the Quiz Panel: should now be 60pts to the full question.
None of the quiz system variables can be changed, they are read-only. System variables in Captivate 6 - Captivate blog explains the system variables for 6 categories, there are a few changes in 7: new features of Captivate 7.01 - Captivate blog but the Quiz category is always read-only.
-
Pointing out the correct answer after failing to question?
Hello
I'm experimenting Captivate 7 and worked on how to do just about everything I need it to do. I have 3 or 4 mini-quizzes scattered throughout the presentation that allow 3 attempts before moving on. What I would do, is however, before continuing, display or highlight the correct answers. Is it possible to do?
Thank you
Hello and welcome,
Normally this will be done during the review: correct answer indicated (with a check mark) as well as the answers given. But the inquiry cannot be done after the quiz was made using a button on the slide to Score.
It could be done, perhaps a bit difficult for a beginner. Question slides do break (you see the double vertical line in the timeline of the slide) and this break is used twice: playhead rest pause when the user clicks on send and see the legends of your comments, then it must support on Y or click on the slide to leave the playback head. Look at the accordion of actions in the Panel properties Quiz: success and the last attempt are by default set to "continue".
More information: http://blog.lilybiri.com/question-question-slides-in-captivate and http://blog.lilybiri.com/question-question-slides-part-2
If you understand this workflow, you could time a highlight (box or something else), immediately after this point of suspension. As the playhead will continue, this climax appear, but be visible only for the period after the point of putting paused. If this is not enough, you can do the longest slide in questionnaire.
Here I change the duration of the Quiz slide to 5 seconds, which means that the highlight box will be visible to (1. 5-5) = 3.5 seconds before the read head reached the end of the slide and goes to the next slide
-
Helpful answers available: 5. correct answers available: 1
I see the "helpful answers available: 5. correct answers available: 1" statement on top of son unanswered. Although there is no useful or correct answers to the question. Why?That statement is a description of what the author of the thread is available for them.
The formulation of such a description could be better, but it is what it is.The person who posted the question in the forums can be tilted up to five responses as "helpful" and can choose to mark a response as "correct".
Of course, this action can (and often is) simply ignored.
-
Correct answers for drag and drop dialog box
I'm trying to get a better handle on the different options for drag and drop interactions.
The right answers dialog box is used only for the edition of the correct answers after a drag and drop interaction has already been created?
What does the column 'Number' and what is its purpose?
Hi jay,.
With the correct answers dialog box, you can get the following,
1. can I change the answers correct configured.
2. can define several correct answers to the same question.
3. can we do good response as a 'combination', or a sequence
The "count" column allows you to set the correct answer in the following scenario.
Suppose you have a bunch of oranges (Say 12) while sources drag on and a fruit basket is in the form of the target, and the question is to drag and drop five oranges in the fruit basket; Then, you can configure a drag and drop interaction as follows,
1. Select all the oranges, mark them as source and add them to the custom type orange
2. mark "Basket of fruit" as target.
3. create a correct answer between the oranges and the basket link.
Now when you open the correct answers dialog box, it shows the correct answer as follows.
Orange > basketball > 12 fruits.
You can change the number of 5, the question being 'Drag and Drop five oranges' at the fruit basket.
I hope this helps.
Thank you
VERALINE Sukumaran.
-
FORUM, counters ok? Helpful answers available: 5 correct answers available
Comes to the counters for threads in message ok?
It shows "* helpful answers available: 5. correct answers available: 1." * for multiple messages. "
rgrds PaavoHello
I don't know =) maybe you start the new thread on the community forum your comments and Suggestions
Community feedback (no product Questions)Kind regards
Jari-----
http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0
Maybe you are looking for
-
music to transfer to the new phone
So I recently got a new iPhone with enough storage that I can finally put all my music on it! When I transferred all my stuff again phone via iCloud only music that appears is the music that I actually purchased via iTunes (which makes sense). Howev
-
HI I recently transferred all my data from my iPad to a whole mini new iPad pro. Now all my game data was lost. All of my achievements and waiste game purchases. All my games is in the stages of early on both devices any help?
-
I can't find the charger OR in the Service menu
I'm trying to detect the intruments to NOR-MAX, a connected by USB - DAQ and the other connected by USB-serial. Despite the USB - DAQ appearing in Device Manager, it is not in NOR-MAX. And while I can see the USB-Serial COM port, I can't communicate
-
I'm running an AMD athlon 64 X 2 2.5 GHZ cpu how to activate cool and calm on this machine its vista running.
-
What to do when system is (sometimes) low virtual memory?
Hello; ( 1) this laptop is quite obsolete by standard today, but there still some life in it! ... Compaq: Win XP Prof SP3 .... 847 MHz, 128 MB RAM .... Processor AMD Athlon x 86 .... Total physical memory 128 MB .... Total virtual memory 2.00 GB ..