我有一张桌子,下面有详细信息.
Id Name created_date
-----------------------------------------------
1 ABC 20-AUG-15 07.59.50.765000000 AM
2 ABD 20-AUG-15 08.59.50.765000000 AM
3 ABE 20-AUG-15 09.59.50.765000000 AM
4 ABF 20-AUG-15 06.59.50.765000000 AM
5 BCD 21-AUG-15 07.59.50.765000000 AM
6 BCE 21-AUG-15 08.59.50.765000000 AM.
Run Code Online (Sandbox Code Playgroud)
我需要在一天内创建的帐户结果(SQL查询).它应该是通用的.
输出:
CountPerDay created_date
------------------------------------------------
4 20-AUG-15 07.59.50.765000000 AM
2 20-AUG-15 08.59.50.765000000 AM
Run Code Online (Sandbox Code Playgroud) 我有一个类似下面的项目类型.
<itemtype code="ApparelProduct" extends="Product" autocreate="true"
generate="true" jaloclass="com.jay.core.jalo.ApparelProduct">
<description>Base apparel product extension that contains additional attributes.</description>
<attributes>
<attribute qualifier="genders" type="GenderList">
<description>List of genders that the ApparelProduct is designed for</description>
<modifiers />
<persistence type="property" />
</attribute>
</attributes>
</itemtype>
Run Code Online (Sandbox Code Playgroud)
我想添加一个名为spacialDiscount上述项类型的新属性.