Is the following shell script syntactically correct ? If it…
Is the following shell script syntactically correct ? If it is not explain what is wrong with it. $ cat script.shmysql -d final -e “CREATE TABLE grader( id INT PRIMARY KEY, letter VARCHAR(1) );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘1’, ‘A’ );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘2’, ‘A’ );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘3’, ‘B’ );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘4’, ‘B’ );” mysql -d final -e “INSERT INTO TABLE VALUES( ‘5’, ‘C’ );”
Read Details