Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Base del Conocimiento Super Querys
query:- read(X), read(Y), read(Z), a1(X, Y), a2(X, Y, Z). a1(X,Y):- write('select '), write(Y), write(', count(*)/(select count(*) from '), write(X), write(') as probabilidad from '), write(X), write(' where '), write(Y), write(' in(select distinct '), write(Y), write(' from '), write(X), write(') group by '),write(Y), write(';\n'). a2(X, Y, Z):- write('select '), write(Y), write(', '), write(Z), write(', count(*)/(select count(*) from '), write(X),write(') as probabilidad from '), write(X), write(' where '), write(Y), write(' in(select distinct '), write(Y), write(' from '), write(X), write(') and '), write(Z), write(' in(select distinct '), write(Z), write(' from '), write(X), write( ') group by '), write(Z), write(', '), write(Y), write(' order by '), write(Y), write(', '), write(Z), write(';'). :- query.
run
|
edit
|
history
|
help
0
Rivera Martinez Joseph Emmanuel Prolog 1
Hello
Guzman_Goiz_Query
LOCO 0.2 inicio de ciclo
Extra. Pinales Escalona Eduardo Salvador
Fii
ARREGLOS
Codificar estructuras de datos con bases de conocimiento EMPRESA
inteligencia 1
Arreglos