我正在使用join来获取数据,但它显示语法错误我正在使用sql razor这里是我的查询
SELECT *
FROM contentcommenttracking
JOIN contentmaster
ON contentcommenttracking.userid = contentmaster.contentaddedbyuserid
WHERE username = 'imran.husain'
这是sql razor
中显示的错误错误:
Query = SELECT * from ContentCommentTracking JOIN ContentMaster
ON ContentCommentTracking.UserID=ContentMaster.ContentAddedByUserID
where UserName='imran.husain'
这是我得到的链接,显示亚马逊简单数据库不支持JOIN
http://www.packtpub.com/article/amazon-simpledb-versus-rdbms
答案 0 :(得分:0)
试试这个
SELECT
*
FROM
contentcommenttracking
JOIN
contentmaster
ON contentcommenttracking.userid = contentmaster.contentaddedbyuserid
WHERE
contentcommenttracking.username = 'imran.husain' ;
你的不明确