小编SMK*_*ddy的帖子

SQL Query查找每天创建的记录数

我有一张桌子,下面有详细信息.

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)

sql oracle

0
推荐指数
1
解决办法
1754
查看次数

如何在hybris中为现有的itemtype添加新属性?

我有一个类似下面的项目类型.

<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上述项类型的新属性.

hybris

0
推荐指数
1
解决办法
3577
查看次数

标签 统计

hybris ×1

oracle ×1

sql ×1