foreign key syntax
Is there a way to declare foreign keys explicitly in Phoenix SQL?
Re: can I prevent rounding of a/b when a and b are integers
I think it is fairly standard in programming languages for / to mean integer division when the operands used are integers. Therefore 1/3=0 is not a surprising result to me; other programming languages I have worked in give 1/3=0. However if one of the operands to / is a decimal, the result is