Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Insert with subselect

$
0
0
Hi,
I want to execute a query as follow:

INSERT INTO table1 (
      field1_pk, 
      field2, 
      field3) 
values (
      'value1', 
      'value2', 
       (select field2 from table2 where field1_pk = 'PIPPO') 
)

It is possible with Liquibase without <sql> tag ?

Thanks in advance


Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>