" /> Password <br /><input type="password" name="passwd" id="passwd" class="inputbox" size="18" alt="password" />
PDF


There is a table "Persons":

P_IdLastNameFirstNameAddressCity
1 Hansen Ola Timoteivn 10 Sandnes
2 Svendson Tove Borgvn 23 Sandnes
3 Pettersen Kari Storgt 20 Stavanger

O_IdOrderNoP_Id
1 77895 3
2 44678 3
3 22456 1
4 24562 1
5 34764 15


  • JOIN
  • FULL JOIN

Comments

 
+9 #1 Pablo 2010-04-22 21:01 Of course, I'm sorry, but how in the second table primary key yavlyaetsya P_id? And do not O_Id.
And what kind of expression is a master Yoda, "It means - that no two rows can have the same" P_Id "."
It may ludche "It means - that the" P_Id "always unique.
And the error is the primary key in table "Persons".

Overall a very useful resource!
Quote
 
 
+12 #2 ageent 2010-04-22 21:29 PaulThanks corrected. Quote
 
 
0 #3 Игорь 2010-08-30 10:05 and where the request? Quote
 
 
+1 #4 Саня 2010-10-11 10:33 Well meaning page? Even the example source code do not! Quote
 
 
-3 #5 Шелест Константин 2010-10-29 19:55
Well meaning page? Even the example source code do not!


Example: get the value for a person OrderNo Hansen.

SELECT LastName, FirstName, OrderNo
FROM Persons
INNER JOIN Orders ON Persons.P_id = Orders.P_id
WHERE LastName = 'Hansen'

If not mistaken, it should work. If you made a mistake, correct. I'm still learning, still (zapayany) admin that used in the head prokompilirovat b without any errors.
Quote
 
 
-1 #6 Сцуко 2010-12-16 23:06
Well meaning page? Even the example source code do not!

A section on the right side for whom??? This article is for your reference, nubl ()
Quote
 
 
-16 #7 нахуй 2010-12-22 20:57 No, well, fucking article!
I know without you!
where whore example, freaks?
Quote
 
 
+3 #8 ыф 2011-02-04 21:47
where whore example, freaks?

you do not nikto nichego Dolj
Quote
 
 
0 #9 Guest 2011-05-13 02:14 Prompt. How to write a reverse design Inner Join, that is, to bring those fields that do not match?? Quote
 
 
-3 #10 SSV 2011-07-12 15:52
No, well, fucking article!
I know without you!
where whore example, freaks?

you - Passive ***** ... yes, that's with two large letters "Paix"
Quote
 

Authorization

Nice Ajax Poll

Which one of my extensions is the best?

Statistics

Advertisement