Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model
by 3rd3 on Monday February 05, 2024 @02:42PM
(#39266026)
Could you give an example?
[ Parent
| on HN ]
Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model
by ako on Monday February 05, 2024 @03:13PM
(#39266464)
This will be useful if you have a table with some related history records, e.g., products with product price history, and you want to get the latest price. The lateral join would get all prices for the current product, sort them by date and then pick the top row.