Hi All,
I am using sqldf package to run query on mtcars dataset, but I am facing issue fetching car names. Please find the query below :
sqldf("select * from df limit 10")
Now, above query does not fetch me car names as output as it does not have column name.
Please let me know how to fetch car name using only sqldf query not indexing.
On mtcars dataset, car models are stored as row names, as far as I know sql doesn't understand this concept so you would need to manually convert row names to a column before using sqldf.