0
Help! mySQL query
SELECT col1, col2, (coloumn_ x FROM another_table ), col4 FROM table1; is that possible? in my case i want to display an item's supplier name using supplier_id in the mentioned parenthesis. have been using inner join but no luck for within parenthesis.
2 Answers
+ 2
You'd need to do a join on supplier_id and supplier_id would need to be in both tables.
+ 2
select tbl1.col1, tbl2.col1, tbl1.col2, tbl2.col2 from tbl1, tbl2;
Hot today
What’s wrong?
3 Votes
Question is write a c program to print prime numbers up to n and print the largest number in array.
1 Votes
Error in Program
1 Votes
SQL
1 Votes
While loop
0 Votes