What's the difference what the result will be?! Quote
+2#3Шелест Константин2010-10-29 19:36And secondly, to work all the above stated unfortunately will not be Why? that because
SELECT Product_Orders.OrderID, Persons.LastName, Persons.FirstName FROM Persons, Product_Orders
are two different tables and Product_Orders Persons, they have to connect through the INNER JOIN, if they have a common column (attribute).
SELECT OrderID, , FROM Persons AS p,
INNER JOIN Product_Orders ON p.OrderID = Product_Orders.OrdrID
WHERE ='Hansen' WHERE =
But the name the name of the table po Product_Orders I did not succeed. Who knows, please write. Thanks in advance Quote
0#4student2011-04-19 12:36gmn ma how to change a column in sql table ... ??????? because the script above I try to not get it ... !!!!!!!!! yes please helpQuote
0#5Олег2011-06-17 21:12Still, you can use an alias for the function. For example, when you need to add all the values in column 1 and column 2: Quote
Comments
What's the difference what the result will be?!
SELECT Product_Orders.OrderID, Persons.LastName, Persons.FirstName
FROM Persons,
Product_Orders
are two different tables and Product_Orders Persons, they have to connect through the INNER JOIN, if they have a common column (attribute ).
SELECT OrderID, ,
FROM Persons AS p,
INNER JOIN Product_Orders ON p.OrderID = Product_Orders.OrdrID
WHERE ='Hansen'
WHERE =
But the name the name of the table po Product_Orders I did not succeed. Who knows, please write. Thanks in advance
Quote
This is not an alias for the function, and the name of the column for query result Quote
SELECT a.*
FROM Persons a,
WHERE UPPER(a.LastName) LIKE '%MAC%' Quote