Can you use a for k,v loop in a sql table creation?

Is there anyway I can do this:



local randombull = {
					"testbrah",
					"testbrah2",
					}
					
					
for k,v in pairs(randombull) do					
		if (!sql.TableExists(v[k])) then // ! = not
					query = "CREATE TABLE "v[k]" ( unique_id varchar(255), count int  )"
					result = sql.Query(query)
					
					if (sql.TableExists(v[k])) then
						Msg("Succes ! table 1 created 
")
					else
						Msg("Somthing went wrong with the metals query ! 
")
						Msg( sql.LastError( result ) .. "
" )
					end	
					
				end
end


I am about to upload a bunch of data to a sql database, and I wanted to know the easiest way to do it.

use … to join strings together.
“CREATE TABLE " … v[k] … " ( unique_id varchar(255), count int )”

Well that worked to a extent.

It gives me this error and prints this out when I type in print(v[k][7]).



u
This table already exist !/
Somthing went wrong with the / query ! 
near "/": syntax error


here is how the table looks:



items = {
				//fire smelter
				{
					"Fire Furnace", //1
					"models/props_c17/lampShade001a.mdl", //2
					"This can be used to
 smelt rocks into ore
 for craft-able materials.", //3
					"oak_planks, oak_planks,
 oak_planks, cotton,
 flint", //4
					{ oak_planks, oak_planks, oak_planks, cotton, flint },//5 
					ent_fire_smelter,//6
					"fire_furnace",
					fire_furnace,
				},
				
				//test
				{
					"test", //1
					"models/props_c17/lampShade001a.mdl", //2
					"This can be used to
 smelt rocks into ore
 for craft-able materials.", //3
					"oak_planks, oak_planks,
 oak_planks, cotton,
 flint", //4
					{ oak_planks, oak_planks, oak_planks, cotton, flint },//5 
					ent_fire_smelter,//6
					"test",
					test,
				},
				
				

}


I found the issue. If anyone else is having this issue and is looking for a answer on google, I fixed it by changing the v[k][1] into items[k][1].

Apparently it will only retrieve the like first character and that is it if you do it the way I originally did it.