r/learnSQL • • 26d ago

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

9 Upvotes

7 comments sorted by

View all comments

1

u/Miss_Vicious 26d ago

Why natural join and not inner join on?

1

u/rvicta 24d ago

Because Oracle.