Chinaunix首页 | 论坛 | 博客
  • 博客访问: 388604
  • 博文数量: 166
  • 博客积分: 1972
  • 博客等级: 上尉
  • 技术积分: 1845
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-19 21:16
文章分类

全部博文(166)

文章存档

2013年(7)

2010年(159)

分类: Mysql/postgreSQL

2010-10-12 16:41:51

/usr/local/mysql/bin/mysql -uroot -p"qazdb2009p;/$" yoohouse_alpha -B -e "select estate_id,estate_district,estate_sector,estate_name,estate_address from house_estate where estate_plan_pic 
is null  \ 
and estate_looks_pic is null and  \
estate_scene_pic is null and estate_indoor_pic is null and estate_roomtype_pic is null and estate_visable = 1 group by estate_name order by estate_district asc,estate_sector asc;" \
| sed 's/\t/,/g' > estate.csv
阅读(476) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~