SELECT admin, file_view, file_edit, file_comment, issue_view, issue_edit, issue_assign, issue_resolve, issue_close, issue_comment, msg_view, msg_edit, msg_comment, mstone_view, mstone_edit, mstone_comment, todolist_view, todolist_edit, todo_edit, todo_comment, time_view, time_edit, bill_view, bill_edit, bill_rates, bill_invoices, bill_markpaid, report, svn FROM #variables.tableprefix#project_users WHERE projectID = AND userID = INSERT INTO #variables.tableprefix#project_users (projectID, userID, admin, file_view, file_edit, file_comment, issue_view, issue_edit, issue_assign, issue_resolve, issue_close, issue_comment, msg_view, msg_edit, msg_comment, mstone_view, mstone_edit, mstone_comment, todolist_view, todolist_edit, todo_edit, todo_comment, time_view, time_edit, bill_view, bill_edit, bill_rates, bill_invoices, bill_markpaid, report, svn) VALUES (, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ) DELETE FROM #variables.tableprefix#project_users WHERE 0=0 AND projectID = AND userID =