i got this error while i have to transpose row into column
library(sqldf)
sqldf("SELECT id,name,ROW_NUMBER() over (PARTITION BY id order by id) as row_no FROM dd")
Error in rsqlite_send_query(conn@ptr, statement) : near “(”: syntax error_____
what should i do or please give me an alternative as i want to use it in a shiny
app