skip to Main Content

Postgresql – Select counts from one table based in the results from another table

I have two tables, lets call them t1 and t2. Fiddle select setseed(.42); create table t1(a,b,c,d)as select (random()*9)::int , (random()*9)::int , (random()*9)::int , (random()*9)::int from generate_series(1,100); create table t2(a,b,c,d)as select (random()*9)::int , (random()*9)::int , (random()*9)::int , (random()*9)::int from generate_series(1,200); I'm…

VIEW QUESTION
Back To Top
Search