tables have no relation to each other,
                  
                  
                  They have the same structure, only one column is different
                  
                  
                  
                  
                  
                  When I do something like this:
                  
                  
                  SELECT * FROM table1, table2;
                  
                  
                  It returns all columns from both tables, but no data
                  
                  
                  
                  
                  
                  When I do cross join like this:
                  
                  
                  SELECT * FROM table1 CROSS JOIN table2; 
                  
                  
                  The same result happens
                  
                  
                  
                  
                  
                  What should I do?
                  
                  
                
Maybe UNION?
Обсуждают сегодня