去除重复数据:

语法规则:在select 后加上distinct,就会去除重复。

select distinct book.author,book.title,borrow.BID,student.stuName,student.major from book 
inner join borrow on book.BID=borrow.BID 
inner join student on student.stuID=borrow.stuID order by BID Desc

 

相关文章:

  • 2022-01-23
  • 2021-12-18
  • 2023-04-08
  • 2021-12-05
  • 2021-12-24
  • 2021-12-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-10-12
  • 2022-12-23
相关资源
相似解决方案