r/learnSQL • u/QwertyTrungas • Nov 04 '26
Simple query breaking my mind
SELECT clientes.codigocliente, clientes.nombrecliente, pedidos.fechapedido, pedidos.estado FROM clientes NATURAL JOIN pedidos;
Very simple query, but for some reason it returns "ORA-25155: column used in NATURAL join cannot have qualifier". But columns used in the NATURAL join do not have qualifiers????
What am I doing wrong
8
Upvotes
View all comments
1
u/Miss_Vicious Nov 05 '26
Why natural join and not inner join on?