Repetitions in MYSQL -


following mysql query, i'm hoping repeat data in result. i've tried union , throws syntax error.

select attribute_name attribute (select attribute_id platform_metadata_map ); 

any appreciated !

this wrong beacuse

select attribute_name  attribute  (select attribute_id platform_metadata_map ); 

the clause don't match (you shoudl use attribute_id = (select ....)) anyway want repeat should repet teh query using union

select attribute_name  attribute  union  select attribute_name  attribute  union select attribute_name  attribute  union  select attribute_name  attribute  

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -