嗨,我有一个有2个表的Mysql数据库,第一个表有2个字段第二个表有3个字段select all city_name and country_code from first table and for each country_code insertinto second table in field country_cities
select * from fruitsTable where fruit="apple"appleapple,orangeapple,pear
有没有办法进行这样的查询呢我知道苹果,橙子和苹果,梨没有什么意义,但基本上,我试图从数据库中过滤出数据,有时只有一个,有时是两个类别。我该如何过滤/查询数据库中的类似内容呢?谢谢。