Trivial: changing double-quotes to single-quotes for literals
Setting id columns as index where appropriate