一道c++广度优先搜索的题 求解

2025-06-27 17:00:10
推荐回答(1个)
回答1:

SQL code?
select * from (
(SELECT t.*, f.name FROM threads t, forums f where f.fid=t.fid id=10000)
union all
(SELECT t.*, f.name FROM threads t, forums f ORDER BY t.dateline DESC LIMIT 0, 10)
) t
order by id=10000 desc,datelineDESC LIMIT 0, 10