166166 postgresql: sql(Connection , [insert_into(country, [iso_code, name]), values(" PT" , " Portugal" )], data([])),
167167 postgresql: sql(Connection , [insert_into(famous, [name, country, year]), values(" Miguel de Cervantes" , " ES" , 1547 )], data([])),
168168 postgresql: sql(Connection , [insert_into(famous, [name, country, year]), values(" Magallanes" , " PT" , 1480 )], data([])),
169- postgresql: sql(Connection , [insert_into(famous, [name, country, year]), values(" Picasso" , " ES" , 1881 )], data([])),
169+ postgresql: sql(Connection , [insert_into(famous, [name, country, year]), values(" Picasso" , " ES" , 1881 ), returning(name , country) ], data([[ " Picasso " , " ES " ] ])),
170170 postgresql: sql(Connection , [select(' famous.name' , ' country.name' ), from(famous), join(country), on(' famous.country' = ' country.iso_code' ), where((year > 1500 , year < 2000 )), order_by(asc(year))], Result ),
171171 Result = data([[" Miguel de Cervantes" , " España" ], [" Picasso" , " España" ]]).
172172
173173
174- :- end_object .
174+ :- end_object .
0 commit comments