I'd like to update the first price record for each stock without changing other records. The problem is I cannot find an efficient way to set the conditions concisely as a stock id column contains various stocks. Any suggestions on function use?
btw I've checked similar questions, but it seems the answers do not apply to this situation.