Hi to all

I am using Terminal and want to access a database which is store in Desktop.
when i run a script in terminal it says cannot execute Binary file.i use this Script
#!/bin/sh
sql=sqlite3
while test 1
do
n= `$sqlite //Users//admin//Desktop//call_history.db 'select count(*) from call where flags=4'`;
if [ "$n" -gt 0]
then
echo Hello World
fi
echo Hello World!!!!!!!
sleep 15
done
Plz help me