什么是在SQL中使用问号

cod*_*rix 7 sql

我只是在网上冲浪,发现了一个类似的查询:

sql  = "select milk_rate from special_milk_rate 
        where code_producer_id=? and effective_from <= ? 
        and effective_till >= ?"
Run Code Online (Sandbox Code Playgroud)

这个查询究竟意味着什么意味着什么是使用?在这个声明中.

还有一件事是在sql中使用&.

Oli*_*rth 9

这通常意味着准备好的语句,其中的参数将在以后填充.(参见例如http://en.wikipedia.org/wiki/Prepared_statements#Parameterized_statements).