Linked Questions

0 votes
0 answers
186 views

I've seen a few methods online to do this, but i couldn't manage to apply them in my case. I have 4 tables: Suppliers(id_sup, name, city) Companies(id_co, name, city) Producuts(id_p, name, city) ...
Randiir's user avatar
  • 33
909 votes
14 answers
1.2m views

I want to do a full outer join in MySQL. Is this possible? Is a full outer join supported by MySQL?
Spencer's user avatar
  • 22.6k
2 votes
2 answers
3k views

when i try to join tables with inner join..it returns the data..but when i join 4 tables with full outer join then i says ERROR: FULL JOIN is only supported with merge-joinable join conditions" An ...
user3282620's user avatar
3 votes
1 answer
2k views

What is wrong with my sql statement, it says that the problem is near the FULL JOIN, but I'm stumped: SELECT `o`.`name` AS `offername`, `m`.`name` AS `merchantName` FROM `offer` AS `o` FULL JOIN `...
Stephan Grobler's user avatar
1 vote
1 answer
2k views

I am new to MySQL I have one query which works perfectly fine with inner join but with inner join some records got missing I want all the data from both the table but when i use full outer join or ...
Fahaad Munir's user avatar
2 votes
1 answer
2k views

My apologies in advance if this particular question has already been asked and answered ... there so many different particular ways the JOIN command is used that it can be difficult to find the exact ...
Grant M.'s user avatar
  • 233
0 votes
1 answer
2k views

I'm trying to return a combined result of data from 2 tables, but need to merge the ID column from both to form one result set, the full outer join is the closest I have to returning the correct row ...
Wayne Crick's user avatar
4 votes
1 answer
644 views

I have 3 tables with the following structure: Table_A: Date, ID, A1, A2. Table_B: Date, ID, B1. Table_C: Date, ID, C1, C2, C3. I want to join all three into a table with attributes: Date, ID, A1, A2,...
user1170332's user avatar
0 votes
1 answer
1k views

So apparently mySQL doesn't support full outer join, but it's really what I need. I've seen a bunch of blog posts and articles about emulating it with unions, but that removes duplicates. Can anyone ...
EmmyS's user avatar
  • 12.2k
0 votes
3 answers
1k views

I have a mysql table called 'records' with this structure: docdate, db, cr, total and two queries like: 1. SELECT docdate, SUM(total) as ins FROM records where db='somefilter' AND 'someotherfilters' ...
sorinr's user avatar
  • 3
0 votes
2 answers
760 views

Is it possible to SELECT with multiple Array tables. I know it sounds confusing but here is what I have done : First of all, I've created a form, that has two checkboxes option as follows : <form ...
Ali Hamra's user avatar
  • 232
2 votes
1 answer
459 views

I need to join 2 MySQL tables that will return rows if Either side of the join exists, and only one row if both side exist. Here is a a simple example: CREATE TABLE `a` ( `id` INT(11) , `qty` ...
sdfor's user avatar
  • 6,518
2 votes
3 answers
592 views

I've got two tables let's call them A and B. Their column names are identical. But, B is fully populated where as A is like a half-eaten apple. They have tons of fields but I'm only going to use one ...
Plant More Trees's user avatar
0 votes
1 answer
676 views

I have a error in my SQL: "SELECT * FROM tireOverview FULL OUTER JOIN tirePrice ON tireOverview.ID=tirePrice.IDtire" Where i get this error: Fatal error: Uncaught PDOException: SQLSTATE[...
Zegert's user avatar
  • 113
0 votes
3 answers
270 views

I have this query: SELECT *, default_insurance.company AS company FROM (default_insurance) JOIN default_gruppe_rel ON default_gruppe_rel.uid = default_insurance.uid JOIN default_profiles ON ...
Jakob's user avatar
  • 4,854

15 30 50 per page